package com.xiaofengstu.mcams.web.service;

import com.xiaofengstu.mcams.web.entity.TMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fengzeng
 * @since 2022-05-07
 */
public interface TMenuService extends IService<TMenu> {

  List<TMenu> getMenuList();


  List<TMenu> getMenuList(String[] authIds);

  Integer removeByMenuId(Integer roleId,Integer menuId);

  List<TMenu>  getByRoleId(Integer roleId);

  List<TMenu> getAllMenusTree();
}
